package com.ytc.content.service;

import com.ytc.commons.model.vo.ResponseResult;
import com.ytc.content.domain.CoursePub;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 课程发布 服务类
 * </p>
 *
 * @author
 * @since 2023-04-01
 */
public interface CoursePubService extends IService<CoursePub> {

    //课程预览
    Map<String, Object> preview(Long courseBaseId);

    //课程发布
    ResponseResult publishCourse(Long courseBaseId)throws Exception;
}
